local TestModule = {}

TestModule.name = "abc"
TestModule.num = 10

function TestModule:Start()
	-- body
	print("lua-- TestModule Start!")
end

function TestModule:Update()
	-- body

	--[[
	local testModule2 = UnityEngine.GameObject.Find("TestModule2")
	local compponent = UnityEngine.GameObject.GetComponent(testModule2, "LuaComponent")
	local testModule2 = compponent.luaTable
	print(testModule2.num)
	]]
	print("TestModule num is ", TestModule.num)
	TestModule.num = TestModule.num + 1

	local testPack = require "TestModulePak"
	testPack.b = testPack.b + 1
	print("TestModulePak b value is ", testPack.b)

end

return TestModule